package com.cyl.XmlDemo.dao;

import java.util.List;

import com.cyl.XmlDemo.entity.Group;
import com.cyl.XmlDemo.entity.GroupUser;

public interface GroupDao extends BaseDao<Group> {

	List<Group> selectGroupByUid(int uid);
	
	//创建群组
	void createGroup(Group group);
	
	//退出群组
	void quitGroup(GroupUser groupUser);
	
	//加人进群组
	void addUserToGroup(GroupUser groupUser);
}
